ChartData Property

       

Returns or sets an array that contains the values that will be displayed by the chart.

Syntax

object.ChartData [ = data ]

The ChartData property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
data Variant. A two-dimensional array that holds the data used to draw the chart.

Remarks

If the first series of a multi-dimensional array contains strings, those strings will become the labels of the chart.

ChartData is the default property for the MSChart control.